CSS Tech McTc Communication Driver

 

CSS Tech McTc Communication Driver is the driver to communicate with Modulated Current Technology Controller of CSS Technologies Co., Ltd. in Korea.

 

1. Read settings

 

<Figure 1> is read setting example of CSS Tech McTc communication driver.

<Figure 1>  Read setting example of CSS Tech McTc communication driver

Device part of  <Figure 1> input Com Port(COM1), Baud Rate(9600), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively.

 

CSS Tech McTc Controller communication driver¡¯s read schedule 

Read schedule setting parameters are as follows:

1) STATION – Controller address = 0 ~ 255.

2) Read Command – Command = C( Read of current, real value = read value x 2 ), Q( Read of controller status, Refer to <Table 1> ).

3) Read Start Address Don't care.

4) Save start address for Communication Server – Saving start address of Communication Server.

5) Read Size – Fixed to 1. ( Refert to <Table 1> )

 

Read schedule example) 

READ,    64,     C,     0,    0,   1,

 

Note) Real value of  'C' read command equal readed value x 2. 

Read value

read module

Control module

0

Normal

Stop

1

-

Run

2

Over Temp status

Error status

<Table 1> Read contents and store value of 'C' read command

CSS Tech McTc communication driver store the same data in WORD, DWORD, FLOAT, STRING memory, but the data formats are different.

If you click the icon  in protocol option part, you can see the dialogue box such as <Figure 2>. you can also set read schedule by using this part.  

<Figure 2> Example of CSS Tech McTc communication driver¡¯s Option dialogue box

 You can set read schedule by using , , button and listbox of <Figure 2>.  

<Figure 3> Example of CSS Tech McTc communication driver¡¯s read schedule Add/Edit dialogue box

When you click Add button or Edit button in dialogue box of <Figure 2>, dialogue box of <Figure 3> is shown.

 

2. Writing settings

You can read and write by using write settings.

 

Bit Write

Bit write and word write have the same setting parameters except output value. ( 0 , 1 )

 

Word Write

Word write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             Controller address = 0 ~ 255.

3)  ADDRESS           P, C, Q, A write command = save start address of readed value or status.

other command = don't care.

4)  Extra1                   Write command = C, Q, A, P, R, S. ( Refer to <Table 2> )

5)  Extra2                   Don't care.

Write command
Contents Controller type

Remarks

C
Read of current Read module

Save current value from inputed address

Q
Read of controller status Read/control module

Save controller status from inputed address

status of <Table 1>

A
Write command alarm reset Control module

Save alarm status value to inputed address

0 = Normal, 2 = Abnormal

P
Program number setting write command

1 ~ 15 Program

R
Run command

 

S
Stop command

 

<Table 2> Write command type and contents of CSS Tech McTc communication driver¡¯s write command

Write example 1)

 Station : 64  Address : 0050  Extra1 : C, EXTRA2 :

The setting parameter shown above is an example of 'C' read command of 64 controller address. Readed value save at 50 WORD, DWORD, FLOAT memory.

 

Write example 2) 

¿¹2) Station : 65  Address : 0000  Extra1 : P, EXTRA2 :

The setting parameter shown above is an example of program number(1 ~ 15 = write value) setting of 65 controller address.

 

Write example 3)

 Station : 65  Address : 0000  Extra1 : R, EXTRA2 :

The setting parameter shown above is an example of Run command of 65 controller address.

 

Write example 4)

 Station : 65  Address : 0000  Extra1 : S, EXTRA2 :

The setting parameter shown above is an example of Stop command of 65 controller address.

 

Write example 5)

 Station : 65  Address : 0010  Extra1 : A, EXTRA2 :

The setting parameter shown above is an example of Alarm reset command of 65 controller address. After write the reset status value saved at 10 WORD, DWORD, FLOAT memory.

   

3. Connection of communication cable

 

Connection of RS-422 communication cable

You have to connect CSS Tech McTc's R+, R-, T+, T- connector(J20, RS-422) and T+, T-, R+, R- connector( RS-422) of computer side

Computer side             J20 RS-422 connector of McTc controller side

Tx+  -------------------------------------- R+

Tx-  -------------------------------------- R-

Rx+  -------------------------------------- T+

Rx-  -------------------------------------- T-

 

<Figure 4> shows the appearance of CSS Tech McTc controller.

<Figure 4>  Appearance of CSS Tech McTc controller

      

4. Station setting of CSS Tech McTc controller

You can change controller address by using 7 Dip switch of CSS Tech McTc controller.